package com.xc.h05.mapper;

import com.xc.h05.entity.ConsultCLF;
import com.xc.h05.entity.CourseCLF;
import com.xc.h05.entity.CoursemarkCLF;
import com.xc.h05.entity.CoursetalkCLF;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseDetailsCLFMapper {
    CourseCLF selectCourseById(Long id);

    ConsultCLF selectConsultById(Long id);

    List<CoursemarkCLF> selectCoursemarkById(Long id);


//    课堂交流
    //最新发表
    List<CoursetalkCLF> selectCoursetalkByIdZuiXin(Long id);
    //最后回复
    List<CoursetalkCLF> selectCoursetalkByIdZuiHou(Long id);
    //回复数量
    List<CoursetalkCLF> selectCoursetalkByIdShuLiang(Long id);



}
